package com.unitd.logistics.mybatis.mapper;

import com.unitd.logistics.comm.plugins.mybatis.mapper.BaseMapper;
import com.unitd.logistics.model.pojo.TablesColInfoPo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 当前待发布的表-字段信息数据库操作接口类
 *
 * @author hudan
 * @version 1.0
 * @filename TablesColInfoMapper.java
 * @copyright www.pactera.com
 * @date 2020-05-23
 */
@Repository
public interface TablesColInfoMapper extends BaseMapper<TablesColInfoPo, Long> {

	/**
	 * 根据数据库表名,获取该表下的列对象信息
	 *
	 * @param tableName 数据库表名
	 * @return 表下的列对象信息
	 */
	List<TablesColInfoPo> selectByTableName(@Param("tableName") String tableName);
}